TOPE = 1000

if __name__ == "__main__":
	import os
	os.system("cls")
	for a in range(5, TOPE):
		for b in range(a, TOPE):
			c = TOPE - (a+b)
			if (a*a + b*b == c*c):
				p = a*b*c
				print '\ta:', a
				print '\tb:', b
				print '\tc:', c
	print "\n\t", p, "\n"
